/*using System;
using System.IO;
using System.Text;
using Castle.MonoRail.Views.AspView;
using KenEgozi.Com.Domain.Aggregates.Post;
using NUnit.Framework;
using CompiledViews;

namespace KenEgozi.Com.Weblog.Tests

{
	[TestFixture]
	public class PostsViewsFixture : PostsControllerFixture
	{
		private Post CreateADummyPost()
		{
			Post post = new Post();
			post.Title = "The title";
			post.Content = "The Content";
			SetField(post, "_permalink", "http://the-permalink");
			return post;
		}

		[Test]
		public void posts_one()
		{
			AspViewEngine engine = mocks.DynamicMock<AspViewEngine>();
			StringWriter writer = new StringWriter(new StringBuilder());
			SetField(controller.Context.Request, "uri", new Uri("http://test"));
			controller.PropertyBag["post"] = CreateADummyPost();


			posts_one posts_one = new posts_one(engine, writer, controller.Context, controller);
			posts_one.Render();

			Console.WriteLine(writer.GetStringBuilder().ToString());
		}
	}
}
*/